package com.dailyblue.java.mybatis.mybatis03.bean;

import lombok.Data;

import java.io.Serializable;
import java.util.Set;

@Data
public class Dept implements Serializable {

    private Integer deptNo;
    private String dname;
    private String loc;

    // 描述一对多关系
    private Set<Emp> emps;
}
